Utils

class Utils

Functions

Link copied to clipboard
open fun normalize(angle: Float): Float
Normalizes an angle to be in the [0, 360] range.
Link copied to clipboard
open fun shortestRotation(heading: Float, previousHeading: Float): Float
Util for finding the shortest path from the current rotated degree to the new degree.